{% extends "base_self.html" %}

{%block title%}管理员登录{%endblock%}

{%block nav%}{{super()}}{%endblock%}
{%block banner%}{%endblock%}

{%block main%}


<h2>管理员登录</h2>
<div class="flashmessage">
  {%for message in get_flashed_messages()%}
  <h3>'{{message}}'</h3>
  {%endfor%}
</div>
<form class="adminlogin" action="adminlogin" method="post">
  <p>用户名</p><input class="adminlogin" type="text" name="username" value="" placeholder="输入管理员用户名" equired>
  <p>密码</p><input class="adminlogin" type="password" name="password" placeholder="输入密码" value="" required>
  <div class="send-button">
    <input type="submit" value="登录">
  </div>
</form>

{%endblock%}
